namespace GameConstants {
	/**更换当前和下一级台阶 */
	export let UDATE_CURR_NEXT:string="UDATE_CURR_NEXT";
	/**boss登顶 */
	export let BOSS_TOP:string="BOSS_TOP";
	/**敌人攻击 */
	export let ENEMY_ATTACK:string="ENEMY_ATTACK";

	/**添加到parent */
	export let UI_ADD_TO_PARENT:string="UI_ADD_TO_PARENT";
	/**移除出parent */
	export let UI_REMOVE_FROM_PARENT:string="UI_REMOVE_FROM_PARENT";
	/**接近看不见 */
	export let UI_WILL_DISAPPEAR:string="UI_WILL_DISAPPEAR";
	/**接近可见 */
	export let UI_WILL_APPEAR:string="UI_WILL_APPEAR";

	/**更换皮肤 */
	export let USER_SKIN_CHANGE:string = "USER_SKIN_CHANGE";

	/**开启下一个等级 */
	export let START_NEXT_LEVEL:string="START_NEXT_LEVEL";
	/**复活 */
	export let GAME_RELIVE:string="GAME_RELIVE";
	/**游戏结束 */
	export let GAME_OVER:string="GAME_OVER";

	/**英雄进入胜利之门 */
	export let HERO_WIN:string="HERO_WIN";

	/**游戏复活 */
	export let GAME_REBORN:string="GAME_REBORN";
	/**游戏重新开始 */
	export let GAME_RESTORE:string="GAME_RESTORE";
	/**游戏结束暂停，继续开始 */
	export let GAME_FINISH_PAUSE_TO_START:string="GAME_FINISH_PAUSE_TO_START";
	/**游戏结束暂停，重新开始 */
	export let GAME_FINISH_PAUSE_TO_RESTART:string="GAME_FINISH_PAUSE_TO_RESTART";
	/**游戏重新开始 */
	export let GAME_BACKTOHOME:string="GAME_BACKTOHOME";
	/**更新了用户皮肤或武器等用户信息 */
	export let USER_INFO_UPDATE:string="USER_INFO_UPDATE";
	/**检查授权 */
	export let CHECK_SCOPE:string="CHECK_SCOPE";
	/**激活 */
	export let GAME_ACTIVE:string="GAME_ACTIVE";
	/**隐藏 */
	export let GAME_HIDE:string="GAME_HIDE";
	/**变化皮肤 */
	export let CHANGE_GAME_BG:string = "CHANGE_GAME_BG";
	export let GAME_MVOE_FLOOR_UP:string = "GAME_MVOE_FLOOR_UP";
	export let GAME_MVOE_FLOOR_DOWN:string = "GAME_MVOE_FLOOR_DOWN";

	/**保存用户信息的key */
	export let saveUserInfoKey = "saveUserInfoKey";
	/**设置接口设置的相关配置的key */
	export let saveUserConfigKey = "saveUserConfigKey";
	/**保存用户设置是否开启音效的key */
	export let saveShowMusicKey = "saveShowMusicKey";
	export let saveShowSkinListKey = "saveShowSkinListKey";
	/**保存用户上次打破记录的时间 */
	export let saveLastCutTheRecordDateKey = "saveLastCutTheRecordDateKey";
	export let saveUserChoiceBgImgIdKey = "saveUserChoiceBgImgIdKey";
	export let saveHeaderCookieKey = "saveHeaderCookieKey";

	export function getSaveKey(key:string):string{
		return GameConfig.gameName+"_"+key;
	}
	
}